<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>CSS_伪类选择器_语言伪类</title>
  <style>
      div:lang(en){
          color: red;
      }
      div:lang(zh-cn){
          color: blue;
      }
  </style>
</head>
<body>
    <div>数学</div>
    <div>语文</div>
    <div lang="en">English</div>
</body>
</html>